<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="t_bar">
	  ${param.title}
</div>


<p><strong>本表所填科技奖励是指</strong>：</p>
<p>1．国务院和省、自治区、直辖市政府设立的科技奖励及国务院有关部门设立的科技奖励。</p>
<p>2．设区市政府设立的科技奖励。</p>
<p>3．经省级以上科技行政部门登记的社会力量设立的科技奖励。</p>
<p>4．国际组织和外国政府授予的科技奖励。</p>

<table  id="tab_books" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;table-layout:fixed;" >
			<col width="10%" />
			<col width="10%" />
			<col width="15%" />
			<col width="15%" />
			<col width="20%" />
			<col width="10%" />
			<col width="20%" />
			
			<thead >
				<tr style="border:1px solid #B7D1E6">
				<th class="TblHead" align="center" >选择</th>
				<th class="TblHead" align="center" >序号</th>
					<th class="TblHead" align="center" >获奖项目名称</th>
					<th class="TblHead" align="center" >奖项名称</th>
					<th class="TblHead" align="center" >获奖时间</th>
					<th class="TblHead" align="center" >奖励等级</th>
					<th class="TblHead" align="center" >授奖部门（单位）</th>
					
				</tr>
			</thead>
			<tbody id="tab">
			<input type="hidden" id="nowDate" value="${sercverSysDate1}" label="当前日期"/>
					<tr style="display:none"  align="center">
						<td align="center">
							<input type="radio" class="radiobutton" name="selmainpsn"  >
						</td>
						<td align="center">
							<span name="paper_books|list[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input type="text" id="get_name[0]" name="paper_books|list[0]|get_name" label="获奖项目名称"  maxlength="100" style="width:80%" class="required input_text"/>
						</td>
						<td align="center">
							<cpt:select id="books_award[index]" key="awardName" name="books_award" onChange="initControlValue(this.id);" value="" style="width:80%"></cpt:select>
							<input type="hidden"  name="paper_books|list[0]|books_award_value" label="奖项名称"  class="required" value="" />
							<input type="hidden"  name="paper_books|list[0]|books_award_name" value="" />
						</td>
						<td align="center">						
			          	<input id="publish_date_[0]" name="paper_books|list[0]|publish_date"  class=" required date  dateCompare:nowDate" label="获奖时间"  size="8"/>
						</td>
						<td align="center">
							<cpt:select id="paper_leavel[index]" key="awardLevel" name="paper_leavel" onChange="initControlValue(this.id);" value="" style="width:80%"></cpt:select>
							<input type="hidden"  name="paper_books|list[0]|paper_leavel_value" label="奖励等级"  class="required" value="" />
							<input type="hidden"  name="paper_books|list[0]|paper_leavel_name" value="" />
						</td>
						<td align="center">
							<input type="text" name="paper_books|list[0]|paper_unit" id="paper_unit[0]"label="授奖部门（单位）"  maxlength="100" style="width:80%" class="required input_text"/>
						</td>
						
					</tr>
					 <c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/paper_books/list" var="list">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr   align="center">
						<td>
							<input type="radio" class="radiobutton" name="selmainpsn"  >
						</td>
						<td align="center">
							<span   name="paper_books/list[${flag}${index}]@seq_no" >${index+1}</span> 
						</td>
						<td align="center">
						   <input type="text" id="get_name[${flag}${index}]" name="paper_books/list[${flag}${index}]/get_name"    label="获奖项目名称"   style="width:80%" maxlength="100"  class="required input_text" value="<x:out select="$list/get_name" />"/>
						</td>
						<td align="center">
							<c:set var="books_award"><x:out select="$list/books_award_value" /></c:set>
							<cpt:select id="books_award${flag}${index}" key="awardName" name="books_award" onChange="initControlValue(this.id);" value="${books_award }" style="width:80%"></cpt:select>
							<input type="hidden"  name="paper_books/list[${flag}${index}]/books_award_value" label="奖项名称" class="required" value="<x:out select="$list/books_award_value" />"/>
							<input type="hidden"  name="paper_books/list[${flag}${index}]/books_award_name" value="<x:out select="$list/books_award_name" />"/>
						</td>
						<td align="center">
						   <c:set var="publish_date" scope="page"><x:out select="$list/publish_date"/></c:set>
							<cpt:date id="publish_date" name="paper_books/list[${flag}${index}]/publish_date" value="${publish_date}" className=" required date  dateCompare:nowDate" label="获奖时间"  size="8"></cpt:date>
						</td>
						<td align="center">
							<c:set var="paper_leavel"><x:out select="$list/paper_leavel_value" /></c:set>
							<cpt:select id="paper_leavel${flag}${index}" key="awardLevel" name="paper_leavel" onChange="initControlValue(this.id);" value="${paper_leavel }" style="width:80%"></cpt:select>
							<input type="hidden"  name="paper_books/list[${flag}${index}]/paper_leavel_value" label="奖励等级" class="required" value="<x:out select="$list/paper_leavel_value" />"/>
							<input type="hidden"  name="paper_books/list[${flag}${index}]/paper_leavel_name" value="<x:out select="$list/paper_leavel_name" />"/>
						</td>
						<td align="center">
						   <input type="text" id="paper_unit[${flag}${index}]" name="paper_books/list[${flag}${index}]/paper_unit"   label="授奖部门（单位）"   style="width:80%" maxlength="100"  class="required input_text" value="<x:out select="$list/paper_unit" />"/>
						</td>
						
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
				
				</table>
				<script type="text/javascript">
						showAllDateTag("tab_books");
				</script> 
			 
 
<table width="98%" align="center">
					<tr><td>
					<input class="button"  name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tab_books',99,'项目曾获科技奖励情况 默认最多99条')){addNewRow('tab_books');showDateTag('tab_books');}try{top.resizeFrame();}catch(e){};">
					<input class="button"  name="cmdMovePrev" type=button value="上移" onclick="movePrev('tab_books','selmainpsn')">
					<input class="button"  name="cmdMoveNext" type=button value="下移" onclick="moveNext('tab_books','selmainpsn')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tab_books','项目曾获科技奖励情况');">
					</td></tr>
	</table>

	